<?xml version="1.0" encoding="utf-8"?>
<schema xmlns:tns="http://atrium.bmc.com/2009/01/common" targetNamespace="http://atrium.bmc.com/2009/01/common" xmlns="http://www.w3.org/2001/XMLSchema">
  <complexType name="IntArray">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="int" />
    </sequence>
  </complexType>
  <complexType name="ByteArray">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="byte" />
    </sequence>
  </complexType>
  <complexType name="StringArray">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="string" />
    </sequence>
  </complexType>
  <complexType name="DateTimeArray">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="dateTime" />
    </sequence>
  </complexType>
  <complexType name="ExtensionList">
    <sequence>
      <any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
    </sequence>
  </complexType>
  <complexType name="LoginInfo">
    <sequence>
      <element name="locale" nillable="true" type="string" />
      <element name="timeZone" nillable="true" type="string" />
      <element name="authentication" nillable="true" type="string" />
    </sequence>
  </complexType>
  <simpleType name="DatasetType">
    <restriction base="string">
      <enumeration value="REGULAR" />
      <enumeration value="OVERLAY" />
    </restriction>
  </simpleType>
  <simpleType name="GetMask">
    <restriction base="string">
      <enumeration value="DATASET_MODE_CURRENT" />
      <enumeration value="GET_MASK_NONE" />
    </restriction>
  </simpleType>
  <simpleType name="StatusType">
    <restriction base="string">
      <enumeration value="OK" />
      <enumeration value="WARNING" />
      <enumeration value="ERROR" />
      <enumeration value="FATAL" />
      <enumeration value="BAD_STATUS" />
      <enumeration value="PROMPT" />
      <enumeration value="ACCESSIBLE" />
    </restriction>
  </simpleType>
  <simpleType name="AtriumServiceFaultType">
    <restriction base="string">
      <enumeration value="INVALID_ARGUMENT" />
      <enumeration value="UNSUPPORTED_OPERATION" />
      <enumeration value="UNEXPECTED_FAILURE" />
      <enumeration value="SECURITY_FAILURE" />
      <enumeration value="OTHER" />
    </restriction>
  </simpleType>
  <complexType name="Status">
    <sequence>
      <element name="statusType" type="tns:StatusType" />
      <element name="messageNum" type="long" />
      <element name="messageText" type="string" />
      <element name="appendedText" type="string" />
    </sequence>
  </complexType>
  <complexType name="StatusList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:Status" />
    </sequence>
  </complexType>
  <complexType name="AtriumBackendFault">
    <sequence>
      <element name="status" type="tns:StatusList" />
      <element name="extensions" nillable="true" type="tns:ExtensionList" />
    </sequence>
  </complexType>
  <complexType name="AtriumServiceFault">
    <sequence>
      <element name="faultType" type="tns:AtriumServiceFaultType" />
      <element name="faultCode" type="string" />
      <element name="message" nillable="true" type="string" />
      <element name="extensions" nillable="true" type="tns:ExtensionList" />
    </sequence>
  </complexType>
  <complexType name="NameValue">
    <sequence>
      <element name="name" type="string" />
      <element name="value" type="string" />
    </sequence>
  </complexType>
  <complexType name="NameValueList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:NameValue" />
    </sequence>
  </complexType>
  <complexType name="ClassNameId">
    <sequence>
      <element name="namespaceName" type="string" />
      <element name="className" type="string" />
    </sequence>
  </complexType>
  <complexType name="ClassNameIdList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:ClassNameId" />
    </sequence>
  </complexType>
  <complexType name="Coordinate">
    <sequence>
      <element name="x" type="int" />
      <element name="y" type="int" />
    </sequence>
  </complexType>
  <complexType name="CoordinateList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:Coordinate" />
    </sequence>
  </complexType>
  <complexType name="FunctionalCurrency">
    <sequence>
      <element name="value" type="decimal" />
      <element name="code" type="string" />
    </sequence>
  </complexType>
  <complexType name="FunctionalCurrencyList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:FunctionalCurrency" />
    </sequence>
  </complexType>
  <complexType name="Currency">
    <sequence>
      <element name="value" type="decimal" />
      <element name="code" type="string" />
      <element name="conversionDate" type="dateTime" />
      <element name="funcCurrencyList" type="tns:FunctionalCurrencyList" />
    </sequence>
  </complexType>
  <simpleType name="ByteListType">
    <restriction base="string">
      <enumeration value="USER_DEFINED" />
      <enumeration value="WIN_BMP" />
      <enumeration value="JPEG" />
      <enumeration value="TIFF" />
      <enumeration value="TARGA" />
      <enumeration value="PCX" />
    </restriction>
  </simpleType>
  <simpleType name="Keyword">
    <restriction base="string">
      <enumeration value="APPLICATION" />
      <enumeration value="BROWSER" />
      <enumeration value="CLIENT_TYPE" />
      <enumeration value="CURRENT_WIN_ID" />
      <enumeration value="DATABASE" />
      <enumeration value="DATE_ONLY" />
      <enumeration value="DEFAULT" />
      <enumeration value="EVENT_SRC_WIN_ID" />
      <enumeration value="EVENT_TYPE" />
      <enumeration value="FIELD_HELP" />
      <enumeration value="GROUPS" />
      <enumeration value="GUIDE" />
      <enumeration value="GUIDE_TEXT" />
      <enumeration value="HARDWARE" />
      <enumeration value="HOME_URL" />
      <enumeration value="LAST_COUNT" />
      <enumeration value="LAST_ID" />
      <enumeration value="LAST_OPENED_WIN_ID" />
      <enumeration value="LOCALE" />
      <enumeration value="OPERATION" />
      <enumeration value="OS" />
      <enumeration value="ROLES" />
      <enumeration value="ROW_CHANGED" />
      <enumeration value="ROW_SELECTED" />
      <enumeration value="SCHEMA" />
      <enumeration value="SCHEMA_ALIAS" />
      <enumeration value="SERVER" />
      <enumeration value="TCP_PORT" />
      <enumeration value="TIME_ONLY" />
      <enumeration value="TIMESTAMP" />
      <enumeration value="USER" />
      <enumeration value="VERSION" />
      <enumeration value="VUI" />
      <enumeration value="VUI_TYPE" />
      <enumeration value="WEEKDAY" />
    </restriction>
  </simpleType>
  <complexType name="ByteList">
    <sequence>
      <element name="type" type="tns:ByteListType" />
      <element name="data" type="tns:ByteArray" />
    </sequence>
  </complexType>
  <complexType name="Location">
    <choice>
      <element name="fileName" type="string" />
      <element name="buffer" type="tns:ByteArray" />
    </choice>
  </complexType>
  <complexType name="Attachment">
    <sequence>
      <element name="name" type="string" />
      <element name="location" type="tns:Location" />
      <element name="originalSize" nillable="true" type="long" />
      <element name="compressedSize" nillable="true" type="long" />
    </sequence>
  </complexType>
  <complexType name="NullType">
    <sequence />
  </complexType>
  <complexType name="DiaryItem">
    <sequence>
      <element name="user" type="string" />
      <element name="text" type="string" />
      <element name="timestamp" type="dateTime" />
    </sequence>
  </complexType>
  <complexType name="DiaryItemList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:DiaryItem" />
    </sequence>
  </complexType>
  <complexType name="DiaryValue">
    <choice>
      <element name="diaryValueIn" type="string" />
      <element name="diaryValueOut" type="tns:DiaryItemList" />
    </choice>
  </complexType>
  <complexType name="Value">
    <choice>
      <element name="nullValue" type="tns:NullType" />
      <element name="intValue" type="int" />
      <element name="keywordValue" type="tns:Keyword" />
      <element name="bitMaskValue" type="long" />
      <element name="ulongValue" type="long" />
      <element name="doubleValue" type="double" />
      <element name="stringValue" type="string" />
      <element name="diaryValue" type="tns:DiaryValue" />
      <element name="enumValue" type="int" />
      <element name="byteListValue" type="tns:ByteList" />
      <element name="decimalValue" type="decimal" />
      <element name="attachValue" type="tns:Attachment" />
      <element name="coordListValue" type="tns:CoordinateList" />
      <element name="currencyValue" type="tns:Currency" />
      <element name="dateValue" type="date" />
      <element name="timeOfDayValue" type="time" />
      <element name="timeValue" type="dateTime" />
    </choice>
  </complexType>
  <complexType name="ValueList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:Value" />
    </sequence>
  </complexType>
  <complexType name="AttributeValue">
    <sequence>
      <element name="name" type="string" />
      <element name="value" nillable="true" type="tns:Value" />
    </sequence>
  </complexType>
  <complexType name="AttributeValueList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:AttributeValue" />
    </sequence>
  </complexType>
  <complexType name="AttributeValueListList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:AttributeValueList" />
    </sequence>
  </complexType>
  <complexType name="InstanceInfoOut">
    <sequence>
      <element name="classNameId" type="tns:ClassNameId" />
      <element name="instanceId" type="string" />
      <element name="instanceAttributes" type="tns:AttributeValueList" />
    </sequence>
  </complexType>
  <complexType name="InstanceInfoOutList">
    <sequence>
      <element minOccurs="0" maxOccurs="unbounded" name="list" type="tns:InstanceInfoOut" />
    </sequence>
  </complexType>
  <complexType name="ExpirationIn">
    <choice>
      <element name="expirationDuration" type="duration" />
      <element name="expirationDateTime" type="dateTime" />
    </choice>
  </complexType>
  <complexType name="ExpirationOut">
    <sequence>
      <element name="expirationDuration" type="duration" />
      <element name="expirationDateTime" type="dateTime" />
      <element name="isExpired" type="boolean" />
    </sequence>
  </complexType>
  <element name="StatusOutput">
    <complexType>
      <sequence>
        <element name="status" type="tns:StatusList" />
        <element name="extensions" nillable="true" type="tns:ExtensionList" />
      </sequence>
    </complexType>
  </element>
  <element name="AtriumFault">
    <complexType>
      <choice>
        <element name="serviceFault" type="tns:AtriumServiceFault" />
        <element name="backendFault" type="tns:AtriumBackendFault" />
      </choice>
    </complexType>
  </element>
</schema>